package simpleSolutions.vale.data;

import java.util.List;

public interface Repositorio<T,I>
{

	public long save(T item);
	
	public T get(I id);

	public boolean delete(I id);

	public List<T> getBy(String nomeDoCampo, Object valor);
	
	public List<T> getAll();
}
